﻿using B.R.RabbitRoot.ErrorCode;
using MediatR;

namespace B.R.RabbitRoot.Write.API.Applications.Commands.ImgCommands
{
    /// <summary>
    /// 图片的添加
    /// </summary>
    public class ImageTableCreamCommand:IRequest<APIResult<int>>
    {
        public int SourceInfoId { get; set; }
        /// <summary>
        /// 一级类型
        /// </summary>
        public string PrimaryCategory { get; set; }
        /// <summary>
        /// 二级类型
        /// </summary>
        public string SecondaryCategory { get; set; }
        /// <summary>
        /// 图片地址
        /// </summary>
        public string ImageUrl { get; set; }
    }
}
